@debug
@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

@IF
NOSCHISM
defender=anybody
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=Dutch
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Dutch
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=French
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=French
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=English
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=English
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=Portoguese
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Portoguese
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=French Indians
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=French Indians
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=Anglo-indians
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Anglo-indians
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
CITYTAKEN
city=Port Royal
attacker=ANYBODY
defender=French
@THEN
TEXT
Port Royal, the invincible Acadian fortress, 
is forced to capitulation!
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Placentia
attacker=ANYBODY
defender=French
@THEN
TEXT
Placentia, nest of buccaneers and main french settlement
in Newfoundland, is forced to capitulation!
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=St John's
attacker=ANYBODY
defender=English
@THEN
TEXT
St John's, main english settlement in Newfoundland,
is forced to capitulate!
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Qubec
attacker=ANYBODY
defender=French
@THEN
TEXT
The main French stronghold in Northern America,
the powerful placefort of Quebec, is taken!
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Gibraltar
attacker=ANYBODY
defender=Spanish
@THEN
TEXT
The Rock changes side!
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=1
@THEN
TEXT
The Dutch and Imperial forces takes Kaiserswerth.
The war for Spanish Succession is now officially
started.
ENDTEXT
@ENDIF

@IF
TURN
turn=2
@THEN
TEXT
Austria, England and United Provinces now declare
officially war to France.
ENDTEXT
@ENDIF

@IF
TURN
turn=3
@THEN
TEXT
Marlborough coomander in chief of the English 
expeditionary force in Europe.
ENDTEXT
@ENDIF

@IF
TURN
turn=6
@THEN
TEXT
Maximilian Emanuel II betrays the Empire!
Bavaria on French side against Haugsburg.
ENDTEXT
@ENDIF

@IF
TURN
turn=9
@THEN
TEXT
An English army from South Carolina moves a raid 
against the Spanish settlement of St Augustine. 
ENDTEXT
@ENDIF

@IF
TURN
turn=14
@THEN
TEXT
Portugal declares war to France and Spain.
ENDTEXT
MAKEAGGRESSION
who=Portoguese
whom=French
@ENDIF

@IF
TURN
turn=14
@THEN
MAKEAGGRESSION
who=Portoguese
whom=Spanish
@ENDIF

@IF
TURN
turn=17
@THEN
TEXT
Abenaki war party raids against Maine English settlements.
ENDTEXT
@ENDIF

@IF
TURN
turn=18
@THEN
TEXT
Piedmont changes side after French betrayal.
ENDTEXT
@ENDIF

@IF
TURN
turn=23
@THEN
TEXT
In the midst of the winter, a French and Indian war party 
ruthlessly destroys the English settlement of Deerfield, 
Massachusetts.
ENDTEXT
@ENDIF

@IF
TURN
turn=24
@THEN
TEXT
Felipe V creates a marine infantry to support
spanish amphibious operations.
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Spanish
technology=58
@ENDIF

@IF
TURN
turn=27
@THEN
TEXT
English army attacks the French settlements in Louisiana, 
but fails to penetrate the Choctaw screen protecting them. 
ENDTEXT
@ENDIF

@IF
TURN
turn=28
@THEN
TEXT
An English force destroys the French village of 
Minnasand Beaubasin, Maine.
ENDTEXT
@ENDIF

@IF
TURN
turn=28
@THEN
TEXT
Battle of Schellenberg.
ENDTEXT
@ENDIF

@IF
TURN
turn=29
@THEN
TEXT
Battle of Blindheim, near Hchstadt.
ENDTEXT
@ENDIF

@IF
TURN
turn=29
@THEN
TEXT
A mixed anglo-indian force under colonel James Moore
destroys all but one of the Spanish misiones in Southern
Appalachian lands.
ENDTEXT
@ENDIF


@IF
TURN
turn=50
@THEN
TEXT
Battle of Ramillies.
ENDTEXT
@ENDIF

@IF
TURN
turn=52
@THEN
TEXT
The Allied forces takes Oostende.
ENDTEXT
@ENDIF

@IF
TURN
turn=54
@THEN
TEXT
Battle of Turin.
ENDTEXT
@ENDIF

@IF
TURN
turn=61
@THEN
TEXT
Battle of Almansa.
ENDTEXT
@ENDIF

@IF
TURN
turn=65
@THEN
TEXT
An austro-piedmontese army, supported by the 
English fleet in Mediterranean Sea, fails to retake
the stronghold of Nice.
ENDTEXT
@ENDIF

@IF
TURN
turn=66
@THEN
TEXT
An Abenaki war party attacks an english settlement 
at Winter Harbour, Maine.
ENDTEXT
@ENDIF

@IF
TURN
turn=76
@THEN
TEXT
Battle of Oudenaarde.
ENDTEXT
@ENDIF

@IF
TURN
turn=77
@THEN
TEXT
Allies occupies Sardinia.
ENDTEXT
@ENDIF

@IF
TURN
turn=90
@THEN
TEXT
Battle of Malplaquet.
ENDTEXT
@ENDIF

@IF
TURN
turn=108
@THEN
TEXT
England is tired of this neverending war, and
starts a separate peace negotiation with both
of the bourbonic powers.
ENDTEXT
@ENDIF

@IF
TURN
turn=112
@THEN
TEXT
Battle of Denain!
Dutch are defeated by French commander Villars.
Denain's dbacle make Dutch persuaded they're not
able to continue alone in the effort. Dutch officially
join English in negotiating a peace treaty.
ENDTEXT
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Bedouin Horsemen
owner=Independents
veteran=yes
homecity=None
locations
154,46
174,42
163,53
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Bedouin Horsemen
owner=Independents
veteran=yes
homecity=None
locations
163,53
174,42
154,46
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Bedouin Horsemen
owner=Independents
veteran=yes
homecity=None
locations
163,53
154,46
174,42
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Tribesmen
owner=Independents
veteran=yes
homecity=None
locations
51,87
64,94
31,89
endlocations
@ENDIF

@IF
TURN
turn=-1
@THEN
CREATEUNIT
unit=Tribesmen
owner=Independents
veteran=yes
homecity=None
locations
31,89
51,87
64,94
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Tribesmen.
owner=Independents
veteran=yes
homecity=None
locations
134,68
145,67
138,72
endlocations
@ENDIF

@IF
TURN
turn=-1
@THEN
CREATEUNIT
unit=Tribesmen.
owner=Independents
veteran=yes
homecity=None
locations
134,68
145,67
138,72
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
TEXT
Pirate activity is reported in the Caribbean.
ENDTEXT
CREATEUNIT
unit=Pirates
owner=Independents
veteran=yes
homecity=None
locations
39,59
33,59
32,74
43,77
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
TEXT
Deserters, mutineers and other criminals join the
ranks of the Buccaneers in the Carribean.
ENDTEXT
CREATEUNIT
unit=Buccaneers
owner=Independents
veteran=yes
homecity=None
locations
39,59
33,59
32,74
43,77
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=30
@THEN
TEXT
The pirates of the Caribbean step up their
raids on nearby islands, using their fast 
"barques" - small ships.
ENDTEXT
CREATEUNIT
unit=Pirate Barque
owner=Independents
veteran=yes
homecity=None
locations
34,58
38,56
34,56
38,58
endlocations
@ENDIF

@IF
UNITKILLED
unit=Refugees
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The townspeople are ruthlessly plundered of their
money and possessions!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Trade Goods
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Valuable trade goods are taken!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=50
@ENDIF

@IF
UNITKILLED
unit=Merchants
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The merchants are quickly relieved of their
stock-in-trade!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=50
@ENDIF

@IF
UNITKILLED
unit=Merchantman
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The merchants' ships are scuttled - but not
before being thoroughly plundered!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=80
@ENDIF

@IF
UNITKILLED
unit=Pirates
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The local Governor pays a large bounty for the
capture of the pirates!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=100
@ENDIF

@IF
UNITKILLED
unit=Buccaneers
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The local Governor pays a bounty for the
capture of the buccaneers!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=50
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
TEXT
Deserters, mutineers and other criminals join the
ranks of the English "Brotherhood of the Sea" in Kingston.
ENDTEXT
CREATEUNIT
unit=Buccaneers
owner=English
veteran=no
homecity=None
locations
27,63
26,64
endlocations
@ENDIF

@IF
UNITKILLED
unit=Treasure Galleon
attacker=ANYBODY
defender=Spanish
@THEN
TEXT
The Spanish Treasure Fleet is taken! Huge riches are plundered
by the frenzied seamen.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=2000
@ENDIF

@IF
UNITKILLED
unit=Treasure Galleon
attacker=ANYBODY
defender=Spanish
@THEN
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=-1000
@ENDIF

@IF
UNITKILLED
unit=Tribesmen
attacker=Spanish
defender=Independents
@THEN
TEXT
The Spanish round up the villagers and transport
them back to La Habana - to be sold as slaves!
ENDTEXT
CREATEUNIT
unit=Slaves
owner=Spanish
veteran=no
homecity=None
locations
12,54
13,55
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=40
@ENDIF

@IF
UNITKILLED
unit=Village
attacker=Spanish
defender=Independents
@THEN
TEXT
The Spanish round up the surviving villagers and sell them
as forced labour in the sugar plantations of Havana.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=Spanish
veteran=no
homecity=None
locations
12,54
13,55
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Tribesmen.
attacker=Spanish
defender=Independents
@THEN
TEXT
The Spanish round up the surviving villagers and sell them
as forced labour in the sugar plantations of Havana.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=Spanish
veteran=no
homecity=None
locations
12,54
13,55
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Village
attacker=Dutch
defender=Independents
@THEN
TEXT
The Dutch round up the surviving villagers and transport them
to the infamous fortress of Gore, to be sold as slaves in
the Carribean.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=Dutch
veteran=no
homecity=None
locations
123,57
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Tribesmen.
attacker=Dutch
defender=Independents
@THEN
TEXT
The Dutch round up the surviving villagers and transport them
to the infamous fortress of Gore, to be sold as slaves in
the Carribean.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=Dutch
veteran=no
homecity=None
locations
123,57
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Tribesmen
attacker=Dutch
defender=Independents
@THEN
TEXT
The Dutch round up the surviving villagers and sell them
in the slave market in Willemstadt.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=Dutch
veteran=no
homecity=None
locations
42,72
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Village
attacker=Portoguese
defender=Independents
@THEN
TEXT
The Portoguese round up the surviving villagers and sell them
to traders in Cabo Verde island.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=Portoguese
veteran=no
homecity=None
locations
112,64
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Tribesmen.
attacker=Portoguese
defender=Independents
@THEN
TEXT
The Portoguese round up the surviving villagers and sell them
to traders in Cabo Verde island.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=Portoguese
veteran=no
homecity=None
locations
112,64
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Tribesmen
attacker=Portoguese
defender=Independents
@THEN
TEXT
The Portoguese round up the disgraced Indians and sell them
to landlord farmers in their Brazilian fazendas.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=Portoguese
veteran=no
homecity=None
locations
115,95
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Tribesmen
attacker=English
defender=Independents
@THEN
TEXT
The English round up the disgraced Indians and sell them
to traders in the newly-founded colony of Georgetown.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=English
veteran=no
homecity=None
locations
67,83
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Village
attacker=English
defender=Independents
@THEN
TEXT
The English round up the surviving villagers and transport them
to the slave trading center of Accra, to be sold as slaves in
the American and Carribean plantations.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=English
veteran=no
homecity=None
locations
163,73
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Tribesmen.
attacker=English
defender=Independents
@THEN
TEXT
The English round up the surviving villagers and transport them
to the slave trading center of Accra, to be sold as slaves in
the American and Carribean plantations.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=English
veteran=no
homecity=None
locations
163,73
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Tribesmen
attacker=French
defender=Independents
@THEN
TEXT
The French round up the the disgraced Indians and sell them
to traders in Guyana's plantations.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=French
veteran=no
homecity=None
locations
79,85
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Tribesmen.
attacker=French
defender=Independents
@THEN
TEXT
The French round up the surviving villagers and transport them
to the outpost center of Sant Louis, to be sold as slaves in
the American and Carribean plantations.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=French
veteran=no
homecity=None
locations
128,56
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@IF
UNITKILLED
unit=Village
attacker=French
defender=Independents
@THEN
TEXT
The French round up the surviving villagers and transport them
to the outpost center of Sant Louis, to be sold as slaves in
the American and Carribean plantations.
ENDTEXT
CREATEUNIT
unit=Slaves
owner=French
veteran=no
homecity=None
locations
128,56
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=30
@ENDIF

@ENDEVENTS
